![]() |
SaveBack |
||||
Header: | Palettes.h | Carbon status: | Supported | |
Saves the current background color.
void SaveBack ( ColorSpec *c );
A pointer to the ColorSpec structure to receive the current background color. A value of 0 in the value field of the ColorSpec structure specifies retrieving the RGB color from the rgbBkColor field of the CGrafPort structure; a value of 1 in the value field specifies retrieving the palette entry from the pmBkColor field of the GrafVars structure.
The SaveBack function is available only with system software versions 6.0.5 and later and with the 32-Bit QuickDraw system extension.
Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)